combobox: Remove deprecated API
authorTimm Bäder <mail@baedert.org>
Fri, 14 Oct 2016 19:55:38 +0000 (21:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 17 Oct 2016 22:29:19 +0000 (00:29 +0200)
docs/reference/gtk/gtk4-sections.txt
gtk/gtkcombobox.c
gtk/gtkcombobox.h

index 85ec53c0affb3a4f5361c563c8f800fb495b2528..3cc742fad02d40797a4af6d97ca8f03d371a7a0c 100644 (file)
@@ -905,8 +905,6 @@ gtk_combo_box_set_add_tearoffs
 gtk_combo_box_get_add_tearoffs
 gtk_combo_box_set_title
 gtk_combo_box_get_title
-gtk_combo_box_set_focus_on_click
-gtk_combo_box_get_focus_on_click
 gtk_combo_box_set_button_sensitivity
 gtk_combo_box_get_button_sensitivity
 gtk_combo_box_get_has_entry
index 603bf4ab050f00cf353d84a13266951435b43970..1367bbba13298b25ee4cc6b1f5a3039f5f4ab086 100644 (file)
@@ -4617,52 +4617,6 @@ gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box)
   return combo_box->priv->text_column;
 }
 
-/**
- * gtk_combo_box_set_focus_on_click:
- * @combo: a #GtkComboBox
- * @focus_on_click: whether the combo box grabs focus when clicked
- *    with the mouse
- *
- * Sets whether the combo box will grab focus when it is clicked with
- * the mouse. Making mouse clicks not grab focus is useful in places
- * like toolbars where you don’t want the keyboard focus removed from
- * the main area of the application.
- *
- * Since: 2.6
- *
- * Deprecated: 3.20: Use gtk_widget_set_focus_on_click() instead
- */
-void
-gtk_combo_box_set_focus_on_click (GtkComboBox *combo_box,
-                                  gboolean     focus_on_click)
-{
-  g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
-
-  gtk_widget_set_focus_on_click (GTK_WIDGET (combo_box), focus_on_click);
-}
-
-/**
- * gtk_combo_box_get_focus_on_click:
- * @combo: a #GtkComboBox
- *
- * Returns whether the combo box grabs focus when it is clicked
- * with the mouse. See gtk_combo_box_set_focus_on_click().
- *
- * Returns: %TRUE if the combo box grabs focus when it is
- *     clicked with the mouse.
- *
- * Since: 2.6
- *
- * Deprecated: 3.20: Use gtk_widget_get_focus_on_click() instead
- */
-gboolean
-gtk_combo_box_get_focus_on_click (GtkComboBox *combo_box)
-{
-  g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), FALSE);
-  
-  return gtk_widget_get_focus_on_click (GTK_WIDGET (combo_box));
-}
-
 static void
 gtk_combo_box_buildable_add_child (GtkBuildable *buildable,
                                    GtkBuilder   *builder,
index d7c859c150611a0301fd0850597e0e1dddb5441c..8e5e64af24ece57d2caa5fa66485f4a1c335e100 100644 (file)
@@ -107,12 +107,6 @@ GDK_AVAILABLE_IN_ALL
 void          gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
                                                     gint         column_span);
 
-GDK_DEPRECATED_IN_3_20_FOR(gtk_widget_get_focus_on_click)
-gboolean      gtk_combo_box_get_focus_on_click     (GtkComboBox *combo);
-GDK_DEPRECATED_IN_3_20_FOR(gtk_widget_set_focus_on_click)
-void          gtk_combo_box_set_focus_on_click     (GtkComboBox *combo,
-                                                    gboolean     focus_on_click);
-
 /* get/set active item */
 GDK_AVAILABLE_IN_ALL
 gint          gtk_combo_box_get_active       (GtkComboBox     *combo_box);